package org.delphy.indy2.controls
{
	import mx.controls.HScrollBar;

	public class CarbonHScrollBar extends HScrollBar
	{
		
		private var _weight:Number;

		public function get weight():Number
		{ 
			return _weight; 
		}

		public function set weight(value:Number):void
		{
			if (value !== _weight)
			{
				_weight = value;
				setStyle("weight",value);
				invalidateDisplayList();
			}
		}
		
		public function CarbonHScrollBar()
		{
			super();
			
			styleName="carbonHScrollBar";
		}
		
	}
}